package com.dhecp.project.system.domain;

import java.io.Serializable;

/**
 * 按钮状态 实体
 * @author DH-lwl
 * @version 2020年4月2日
 */
public class SysButtonState implements Serializable{

	private static final long serialVersionUID = 1L;
	
	private String guid;				//表唯一值
	private String moduleTable;			//功能唯一标识
	private String moduleTable2;		//(权限)功能唯一标识
	private String butName;				//按钮名称
	private String butState;			//按钮状态
	private String butCaption;			//按钮说明
	private Integer minUserLevel;		//最低用户级别
	private Integer alwaysEnableUserLevel;//始终启用用户级别
	private String exceptForUser;		//指定用户
	private String exceptForRole;		//指定角色
	private String flowEnable;			//指定流程环节才可用
	private String flowDisable;			//指定流程环节不可用
	
	public String getGuid() {
		return guid;
	}
	public void setGuid(String guid) {
		this.guid = guid;
	}
	public String getModuleTable() {
		return moduleTable;
	}
	public void setModuleTable(String moduleTable) {
		this.moduleTable = moduleTable;
	}
	public String getModuleTable2() {
		return moduleTable2;
	}
	public void setModuleTable2(String moduleTable2) {
		this.moduleTable2 = moduleTable2;
	}
	public String getButName() {
		return butName;
	}
	public void setButName(String butName) {
		this.butName = butName;
	}
	public String getButState() {
		return butState;
	}
	public void setButState(String butState) {
		this.butState = butState;
	}
	public String getButCaption() {
		return butCaption;
	}
	public void setButCaption(String butCaption) {
		this.butCaption = butCaption;
	}
	public Integer getMinUserLevel() {
		if (minUserLevel == null) {
			return 0;
		}
		return minUserLevel;
	}
	public void setMinUserLevel(Integer minUserLevel) {
		this.minUserLevel = minUserLevel;
	}
	public Integer getAlwaysEnableUserLevel() {
		if (alwaysEnableUserLevel == null) {
			return 0;
		}
		return alwaysEnableUserLevel;
	}
	public void setAlwaysEnableUserLevel(Integer alwaysEnableUserLevel) {
		this.alwaysEnableUserLevel = alwaysEnableUserLevel;
	}
	public String getExceptForUser() {
		return exceptForUser;
	}
	public void setExceptForUser(String exceptForUser) {
		this.exceptForUser = exceptForUser;
	}
	public String getExceptForRole() {
		return exceptForRole;
	}
	public void setExceptForRole(String exceptForRole) {
		this.exceptForRole = exceptForRole;
	}
	public String getFlowEnable() {
		return flowEnable;
	}
	public void setFlowEnable(String flowEnable) {
		this.flowEnable = flowEnable;
	}
	public String getFlowDisable() {
		return flowDisable;
	}
	public void setFlowDisable(String flowDisable) {
		this.flowDisable = flowDisable;
	}
	
}
